<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set value="${pageContext.request.contextPath}" var="path" scope="page" />   
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>
            X-admin v1.0
        </title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="../../resources/css/x-admin.css" media="all">
    </head>
    <body>
        <div class="x-nav">
            <span class="layui-breadcrumb">
              <a><cite>首页</cite></a>
              <a><cite>用户管理</cite></a>
              <a><cite>用户列表</cite></a>
            </span>
            <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"  href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon" style="line-height:30px">ဂ</i></a>
        </div>
        <div class="x-body">
            <div class="layui-form-pane" style="margin-top: 15px;">
              <div class="layui-form-item">
              	<label class="layui-form-label">微信昵称</label>
                <div class="layui-input-inline">
                  <input type="text" id="nickname"  placeholder="请输入微信昵称" autocomplete="off" class="layui-input">
                </div>
                <label class="layui-form-label">手机号</label>
                <div class="layui-input-inline">
                  <input type="text" id="phone"  placeholder="请输入手机号" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-input-inline" style="width:80px">
                    <button class="layui-btn layui-btn-small" onclick="search()" style="line-height:1.6em;margin-top:3px;float:right;align:center;">查询</button>
                </div>
              </div>
            </div> 
            <xblock><button class="layui-btn layui-btn-danger" onclick="delAll()"><i class="layui-icon">&#xe640;</i>批量删除</button><button class="layui-btn" onclick="admin_add('添加用户','admin-add.html','600','500')"><i class="layui-icon">&#xe608;</i>添加</button><span class="x-right" style="line-height:40px">共有数据：<em id="total"></em>条</span></xblock>
            <table class="layui-table">
                <thead>
                    <tr>
                        <th>
                            <input type="checkbox" name="" value="">
                        </th>
                        <th>
                            ID
                        </th>
                        <th>
                                                        微信昵称
                        </th>
                        <th>
                                                        头像
                        </th>
                        <th>
                           	 手机
                        </th>
                        <th>
                           	openid
                        </th>
                        <th>
                                                        状态
                        </th>
                        <th>
                           	余额
                        </th>
                        <th>
                                                        更新时间
                        </th>
                        <th>
                                                        创建时间
                        </th>
                        <th>
                                                         操作
                        </th>
                    </tr>
                </thead>
                <tbody id="data">
                </tbody>
            </table>
            <div id="page"></div>
        </div>
        <script src="../../resources/js/jquery.min.js" charset="utf-8"></script>
        <script src="../../resources/lib/layui/layui.js" charset="utf-8"></script>
        <script src="../../resources/js/x-layui.js" charset="utf-8"></script>
        <script src="../../resources/js/userList.js" charset="utf-8"></script>
    </body>
</html>